/**
 * Created by ZE-C on 2017/8/12.
 */
import {Component, OnDestroy} from "@angular/core";

/**
 * Created by ZE-C on 2017/8/12.
 */


@Component({
  selector: 'page1',
  template: `
    <div class="z-box">
      page1
    </div>
  `,
  styleUrls: []
})
export class Page1Component implements OnDestroy{
  ngOnDestroy(): void {
    console.log('page1: OnDestroy()')
  }

  name: string;
}
